<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="./css/mui.min.css">
    <style>
    *{
        margin: 0;
        padding:0;
        touch-action: none;
    }
    </style>
    <style>
    </style>
</head>

<body>
    <div id="refreshContainer" class="mui-content mui-scroll-wrapper">
        <div class="mui-scroll">
            <!--数据列表-->
            <ul class="mui-table-view mui-table-view-chevron">
                <div style="height:1500px;background:pink;" id="ceshi"></div>
            </ul>
        </div>
    </div>
    <script src="./js/mui.js"></script>
    <script>
        mui.init({
                pullRefresh: {
                    container: "#refreshContainer",//下拉刷新容器标识，querySelector能定位的css选择器均可，比如：id、.class等
                    down: {
                        callback: function(){
                           var ceshi = document.getElementById('ceshi');
                           ceshi.style.height = ceshi.offsetHeight + 300 + 'px';
                           this.endPulldownToRefresh();
                        } //必选，刷新函数，根据具体业务来编写，比如通过ajax从服务器获取新数据；
    }
                }
            });
    </script>
</body>

</html>